TotalContest\Contest\Model D

Total Complexity 218
Dependencies 22
Dependents 9
Total lines 2,141
Lines of code 869
Logical lines of code 399
Comment lines 977
Methods 108
Properties 25

Methods 108

Method Rating Maintainability Complexity Lines of code
getUrl()
B
36 23 67
__construct()
B
36 17 69
getMenuItems()
A
45 11 41
getAjaxUrl()
A
52 8 22
getSettings()
S
61 6 11
getPaginationItems()
S
54 5 21
getFilterByItems()
S
46 3 43
toArray()
S
51 4 27
getSubmissionsWithPagination()
S
54 4 20
getCustomPage()
S
62 4 12
getSortByItems()
S
47 1 47
getSeoAttributes()
S
58 3 15
getCategories()
S
58 3 15
isAcceptingSubmissions()
S
60 3 14
getShareAttributes()
S
53 2 23
getSortDirectionItems()
S
51 1 33
isCustomPageScreen()
S
77 3 3
hasCategoryField()
S
67 3 8
getSubmissionsRows()
S
70 3 5
getFormFields()
S
65 3 9
getTimeLeftToEnd()
S
65 3 8
getTimeLeftToStart()
S
65 3 8
save()
S
63 2 11
getSubmissions()
S
57 1 17
getFormFieldsDefinitions()
S
68 2 7
getPermalink()
S
69 2 6
getSubmissionsCount()
S
69 2 6
getErrorMessage()
S
78 2 3
setError()
S
77 2 3
getBlocksDefinitions()
S
74 2 4
getContext()
S
80 2 3
getColumnWidth()
S
75 2 4
setCurrentPage()
S
79 2 3
isCustomPage()
S
79 2 3
render()
S
66 2 9
getEndDate()
S
73 2 4
getThumbnail()
S
70 2 5
getForm()
S
71 2 6
getStartDate()
S
73 2 4
getVotesNumber()
S
80 1 3
getLandingAjaxUrl()
S
78 1 3
getVotesWithLabel()
S
74 1 4
getLandingUrl()
S
78 1 3
__toString()
S
80 1 3
isRateVoting()
S
80 1 3
getSortBy()
S
82 1 3
setContext()
S
76 1 4
isPasswordProtected()
S
80 1 3
jsonSerialize()
S
81 1 3
isCountVoting()
S
80 1 3
getParticipateUrl()
S
78 1 3
getSubmissionsAjaxUrl()
S
78 1 3
getParticipateAjaxUrl()
S
78 1 3
incrementVotes()
S
73 1 5
getSubmissionsUrl()
S
78 1 3
getCustomPageUrl()
S
77 1 3
getCustomPageAjaxUrl()
S
77 1 3
getAdminLogLink()
S
79 1 3
getAdminSubmissionsLink()
S
79 1 3
getReceivedVotes()
S
82 1 3
getVotesFromLogs()
S
66 1 9
getAdminEditLink()
S
79 1 3
isScreen()
S
80 1 3
isLandingScreen()
S
80 1 3
isParticipateScreen()
S
80 1 3
isSubmissionsScreen()
S
80 1 3
isSubmissionScreen()
S
80 1 3
getVotes()
S
80 1 3
getScreen()
S
82 1 3
getVoteCriteria()
S
79 1 3
setForm()
S
80 1 3
getPreviousPagePaginationItem()
S
64 1 9
hasPreviousPage()
S
81 1 3
getRestrictions()
S
82 1 3
getLimitations()
S
82 1 3
getMenuItemVisibility()
S
79 1 3
getContestPost()
S
82 1 3
setFormResolver()
S
77 1 4
isUsingBlocks()
S
79 1 3
getNextPagePaginationItem()
S
64 1 9
getTitle()
S
82 1 3
getAction()
S
82 1 3
getId()
S
81 1 3
getSettingsItem()
S
69 1 7
getDefaultPage()
S
79 1 3
hasLandingPage()
S
75 1 4
setSorting()
S
73 1 5
hasNextPage()
S
79 1 3
getError()
S
82 1 3
getVoteType()
S
79 1 3
getMenuVisibility()
S
82 1 3
getVoteScale()
S
79 1 3
getPresetUid()
S
79 1 3
getTemplateId()
S
79 1 3
setMenuItemsVisibility()
S
76 1 4
getMenuItemsVisibility()
S
82 1 3
setMenuItemVisibility()
S
76 1 4
setMenuVisibility()
S
76 1 4
setCustomPageId()
S
76 1 4
hasError()
S
80 1 3
getCustomPageId()
S
82 1 3
getCustomPages()
S
65 1 9
setScreen()
S
76 1 4
setFilter()
S
73 1 5
getPrefix()
S
78 1 3
setAction()
S
79 1 3
getCurrentPage()
S
82 1 3
getSortDirection()
S
82 1 3